<template>
  <h1 class="welcome-text">您好，{{userInfo.userInfo.xm}}</h1>
</template>

<style lang="scss" scoped>
  h1 {
    padding: 50px;
    margin: 0;
    text-align: center;
  }

</style>

<script>
  import {mapState} from 'vuex'

  export default {
    computed: {
      ...mapState(['userInfo'])
    }
  }
</script>
